package com.zuxia.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zuxia.entity.order.Orders;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class OrdersDto {
    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "拼团编号")
    private String groupId;

    @ApiModelProperty(value = "商品编号")
    private String shopId;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "单件原价")
    private BigDecimal shopPrice;

    @ApiModelProperty(value = "单件拼团价格")
    private BigDecimal groupPrice;

    @ApiModelProperty(value = "单件佣金")
    private BigDecimal kickBack;

    @ApiModelProperty(value = "拼团起始时间")
    private String groupStarTime;

    @ApiModelProperty(value = "拼团结束时间")
    private String groupEndTime;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "团长编号")
    private String dumpId;

    @ApiModelProperty(value = "团长名称")
    private String userName;

    @ApiModelProperty(value = "团长电话")
    private String userPhone;

    @ApiModelProperty(value = "区名")
    private String communityName;

    @ApiModelProperty(value = "成团条件（多少件成团）")
    private Integer groupCondition;

    @ApiModelProperty(value = "成团周期")
    private Integer groupTime;

    @ApiModelProperty(value = "拼团次数")
    private Integer groupNum;

    @ApiModelProperty(value = "已成团次数")
    private Integer groupSuccessNum;

    List<Orders> orders;
}
